#ifndef EMAILSENDER_H
#define EMAILSENDER_H

#include <QObject>
#include <QStringList>

class EmailSender : public QObject
{
    Q_OBJECT
public:
    explicit EmailSender(const QStringList &toList, const QStringList &attaList, QObject *parent = 0);

signals:
    void finished(bool ok, const QString &msg);
    void progress(int value);

public slots:
    void sendMail();

private:
    QStringList m_toList;
    QStringList m_attaList;

};

#endif // EMAILSENDER_H
